package com.bootdo;


import com.bootdo.common.config.BootdoConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@ServletComponentScan
@MapperScan("com.bootdo.*.dao")
@SpringBootApplication(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
//@EnableScheduling
@EnableCaching
@EnableAsync
public class MybootdoApplication {

    public static void main(String[] args) {
        BootdoConfig config = new BootdoConfig();
        String password = config.getPassword();
        SpringApplication.run(MybootdoApplication.class, args);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ");
    }

}
